.class Lcom/waiqin365/lightapp/visit/ae;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 5

    const/4 v4, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/visit/a/a/ao;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    const v2, 0x7f0806f1

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->c:Ljava/lang/String;

    if-eqz v2, :cond_1

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->c:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    if-lez v2, :cond_1

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->c:Ljava/lang/String;

    :cond_1
    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/a/a/ao;->b()Z

    move-result v2

    if-eqz v2, :cond_4

    iget-object v2, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->b:Ljava/lang/String;

    if-eqz v2, :cond_3

    const-string/jumbo v2, "1"

    iget-object v3, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->e:Ljava/util/ArrayList;

    if-eqz v1, :cond_2

    iget-object v1, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->e:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lez v1, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->b(Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;)Ljava/util/ArrayList;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->a(Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;)I

    move-result v2

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->e:Ljava/util/ArrayList;

    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v1, v2, v0}, Ljava/util/ArrayList;->set(ILjava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->c(Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;)Lcom/waiqin365/lightapp/visit/b/at;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/visit/b/at;->notifyDataSetChanged()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->a:Lcom/waiqin365/compons/c/f;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    iget-object v1, v1, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->a:Lcom/waiqin365/compons/c/f;

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->a(Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;Lcom/waiqin365/compons/c/f;)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->d(Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    const v2, 0x7f08058e

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->d(Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;)Landroid/content/Context;

    move-result-object v0

    invoke-static {v0, v1, v4}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto/16 :goto_0

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/ae;->a:Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;->d(Lcom/waiqin365/lightapp/visit/RouteVisiMapActivity;)Landroid/content/Context;

    move-result-object v1

    iget v0, v0, Lcom/waiqin365/lightapp/visit/a/a/ao;->a:I

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;I)V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x2c2
        :pswitch_0
    .end packed-switch
.end method
